<template>
  <div class="box">
    <div class="box-me">
      <img src="https://blog-node-1302040582.cos.ap-nanjing.myqcloud.com/avatar.jpg" alt />
      <h1>yq427.cn</h1>
      <ul>
        <li>
          <i class="iconfont">&#58890;</i>Wechat:niko731391599
        </li>
        <li>
          <i class="iconfont">&#58976;</i>Tel:17398081021
        </li>
      </ul>
      <ul>
        <li>
          <a href="https://github.com/731391599">
            <i class="iconfont ic">&#58999;</i>
          </a>
        </li>
        <li>
          <a href="https://gitee.com/yq770770">
            <i class="iconfont ic">&#59014;</i>
          </a>
        </li>
        <li>
          <a href="https://yq427.cn">
            <i class="iconfont ic">&#58914;</i>
          </a>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
  mounted() {
    this.$nextTick(() => {
      this.$nuxt.$loading.start();

      setTimeout(() => this.$nuxt.$loading.finish(), 500);
    });
  }
};
</script>

<style lang="scss" scoped>
.box {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.box-me {
  width: 450px;
  background: rgba(0, 0, 0, 0.4);
  padding: 40px;
  text-align: center;
  margin: auto;
  margin-top: 5%;
  color: white;
  .ic{
    font-size: 40px;
  }
  img {
    border-radius: 50%;
    width: 200px;
    height: 200px;
  }
  h1 {
    font-size: 40px;
    letter-spacing: 4px;
    font-weight: 100;
  }
  h5 {
    font-size: 25px;
    letter-spacing: 1px;
    font-weight: 100;
  }
  p {
    text-align: justify;
  }
  ul {
    margin: 0;
    padding: 0;
  }
  li {
    display: inline-block;
    margin: 10px;
    list-style: none;
  }
  a {
    color: white;
    font-size: 40px;
    transition: all ease-in-out 250ms;
    text-decoration: none;
  }
  a:hover {
    color: #b9b9b9;
  }
}
</style>